FROM mysql:8.0.28

MAINTAINER zhangxingjia<zhangxingjia245@163.com>

ENV TZ=Asia/Shanghai

ENV LANG=C.UTF-8

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY ./yiyi_boot_mysql_innodb.sql /docker-entrypoint-initdb.d
COPY ./quartz_mysql_innodb.sql /docker-entrypoint-initdb.d

RUN chmod a+x /docker-entrypoint-initdb.d